package com.bjfu.demo.dao;

import com.bjfu.demo.entity.RpData;
import com.bjfu.demo.entity.RpDataExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface RpDataMapper {
    long countByExample(RpDataExample example);

    int deleteByExample(RpDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RpData record);

    int insertSelective(RpData record);

    List<RpData> selectByExample(RpDataExample example);

    RpData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RpData record, @Param("example") RpDataExample example);

    int updateByExample(@Param("record") RpData record, @Param("example") RpDataExample example);

    int updateByPrimaryKeySelective(RpData record);

    int updateByPrimaryKey(RpData record);
}